package guitforl.wrappers

import _root_.guitforl.traits.Update
import org.eclipse.swt.SWT
import org.eclipse.swt.widgets.Composite

import org.swtchart.Chart

class ChartWrapper(private val parent:Composite, private val caption:String) extends Update {

  val chart:Chart = new Chart(parent, SWT.NONE)
  chart.getTitle().setText(caption)

  //some where here need to create scale element or several combo box elements
  //to pick different axes in chart

  def update():Unit = {

  }

}
